relegation strugglers leicester city took the lead in the first half thanks to footballing legend esteban cambiasso .
nigel pearson 's side had the chance to double their lead three minutes later when the hosts were awarded a penalty .
however , foxes striker david nugent failed to convert the penalty as spanish goalkeeper adrian saved smartly .
west ham united equalised with 32 minutes gone when senegalese international cheikhou kouyate found the net .
bot sides hit the post in the second half but it was leicester city who earned a vital win thanks to andy king .